DataGridSetColumnReadOnly

 

The 'DataGridSetColumnReadOnly' function changes the ReadOnly attribute of specified Column at DataGrid object.

 

void @DataGridSetColumnReadOnly(string class_name, string column_name, bool flag);

 

Parameters

string class_name : Class name of DataGrid object.

string column_name : Column name.

bool flag : Designate the ReadOnly attribute. (1 : Apply, 0 : Does not apply)

 

Return Value

None

 

Example

@DataGridSetColumnReadOnly("DataGrid1", "ID", 1);

Description : It changes the ReadOnly attribute to make possible to read only about the 'ID' Column at DataGrid object 'DataGrid1'.

 

Version Information

Supported Version : 10.2.4 or higher